package com.itheima.health.dao;
import com.itheima.health.pojo.DemoDate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.text.ParseException;
import java.util.List;
import com.itheima.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface OrderSettingDao {


    void insertorderSetting(@Param("demoDate") DemoDate demoDate);
    List<OrderSetting> getOrderSettingByMonth(@Param("begin") Date begin ,@Param("end") Date end);
    Long findCountByOrderDate(Date orderDate);

    void editNumberByDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    OrderSetting selectByOrderDate(@Param("orderDate") Date orderDate);

    void update(@Param("orderSetting") OrderSetting orderSetting);
}
